package com.dayou.bean;

import com.dayou.common.core.domain.BaseEntity;

import java.util.List;

public class InterviewerRecord extends BaseEntity {
    private Integer id;         //主键id
    private Integer visitorId;  //访客id
    private Integer type;       //采访类型 0：提审 1：会见
    private Integer roomId;     //房间id
    private String operationCode; //操作码（当录入错误数据时，访客可通过该操作码自行删除）
    private List<InterviewerRecordDtl> records;  //子记录集合

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVisitorId() {
        return visitorId;
    }

    public void setVisitorId(Integer visitorId) {
        this.visitorId = visitorId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public List<InterviewerRecordDtl> getRecords() {
        return records;
    }

    public void setRecords(List<InterviewerRecordDtl> records) {
        this.records = records;
    }

    @Override
    public String toString() {
        return "InterviewerRecord{" +
                "id=" + id +
                ", visitorId=" + visitorId +
                ", type=" + type +
                ", roomId=" + roomId +
                ", operationCode='" + operationCode + '\'' +
                ", records=" + records +
                '}';
    }
}
